Bookly\Lib\Cloud\API S

Total Complexity 37
Dependencies 8
Dependents 32
Total lines 328
Lines of code 134
Logical lines of code 72
Comment lines 122
Methods 19
Properties 10

Methods 19

Method Rating Maintainability Complexity Lines of code
_sendRequest()
S
50 6 28
_handleResponse()
S
57 5 16
_translateError()
S
60 4 13
buildUrl()
S
63 3 10
dispatch()
S
65 3 9
setRequestTimeout()
S
69 2 7
getInstance()
S
71 2 6
getErrors()
S
82 1 3
addErrorTranslator()
S
80 1 3
clearErrors()
S
81 1 3
__construct()
S
66 1 8
addError()
S
80 1 3
getToken()
S
82 1 3
listen()
S
80 1 3
sendDeleteRequest()
S
74 1 4
sendPatchRequest()
S
74 1 4
sendPostRequest()
S
74 1 4
sendGetRequest()
S
74 1 4
setToken()
S
81 1 3